package com.qf.lanzhou.shop.api.service.impl;

import com.qf.lanzhou.shop.pojo.entity.Feedback;
import com.qf.lanzhou.shop.api.dao.FeedbackMapper;
import com.qf.lanzhou.shop.api.service.FeedbackService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author jian
 * @Date 2021/1/9 17:22
 * @JDK 1.8
 * @Version 1.0
 */
@Service
public class FeedbackServiceimpl implements FeedbackService {

    @Autowired
    private FeedbackMapper feedbackMapper;
    @Override
    public Feedback selectName(String shopname) {
        Feedback feedback=feedbackMapper.selectname(shopname);
        return feedback;
    }


    @Override
    public Feedback selectName1(String shopname) {
      Feedback feedback=feedbackMapper.selectname1(shopname);
        return feedback;
    }

    @Override
    public int insert(String shopName, String message) {
        return feedbackMapper.insert(shopName,message);
    }

    @Override
    public int insertid(String shopName, String message, String userName) {
        return feedbackMapper.insertid(shopName,message,userName);
    }


}
